package com.mtt.erp.goods.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * 查询商品
 */

@Getter
@Setter
@ApiModel(
        description = "商品信息"
)
public class MaaPageDto implements Serializable {
    private static final long serialVersionUID = 1L;

    // 唯一标识
    @ApiModelProperty(
            value = "唯一标识"
    )
    private String key;
    // maa00
    @ApiModelProperty(
            value = "id(maa00或mab00)"
    )

    private String id ;

    // maa01;//SKU
    @ApiModelProperty(
            value = "SKU(maa01或mab02)"
    )
    private String sku ;

    // 名称
    @ApiModelProperty(
            value = "商品名称"
    )
    private String mname;

    // maa03;供应商
    @ApiModelProperty(
            value = "供应商"
    )
    private String supplier;

    // 图片
    @ApiModelProperty(
            value = "商品图片"
    )
    private String imageUrl;
    // 价格
    @ApiModelProperty(
            value = "价格"
    )
    private Double price;

    // 状态
    @ApiModelProperty(
            value = "状态"
    )
    private String status;

    // 子商品列表
    @ApiModelProperty(
            value = "子商品列表"
    )
    private List<MaaPageDto> children;
}

